package com.aizuda.boot.modules.common.constant.enums;

/**
 * @author sangyirong
 * @version 1.0
 * @date 2025/5/15
 */
public enum PermissionStatusType {

    ENABLE("ENABLE", "生效中"),
    DISABLE("DISABLE", "未启用"),
    UN_ENABLE("UN_ENABLE", "待生效"),
    EXPIRED("EXPIRED", "已过期");
    ;
    private final String code;
    private final String msg;

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    PermissionStatusType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
